package financial.sharing.center.system.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @ClassName InvoiceFeign
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/7
 * @Version 1.0
 */
@Component
@FeignClient(name = "financial-sharing-center-invoice")
public interface InvoiceFeignTestService {

    @PostMapping("/test/post")
    String post();

    @GetMapping("/test/get")
    String get();

}
